<style>

.topnav{
	margin:0px auto;
	height:30px;
	background:#CCC;

}

</style>



<div class="topnav">
  <div style="margin:0px auto; width:1000px; height:30px; line-height:30px;">
<?php
	if(isset($host["name"])){
?>
<div style="display:inline-block;">
  <?php echo $host["name"]?>
</div>
<?php
	}
?>
  
  
  
  
<?php

	
	if(empty($this->access_token)){
	
?>
    <span style="margin-left:0px;"><a href="/user/login">login</a></span> | 
<?php

	
	}else{
	
?>
    <span style="margin-left:0px;"><a href="/user/index"><?php echo $this->access_token?></a></span> | 
<?php

	
	}
	
?>


    <!--<span><a href="/articles.html">业界资讯</a></span> | -->
    <!--    <span><a href="/manual.html">棋谱大全</a></span> | 
    <span><a href="/manual-cate-1.html">古谱残棋</a></span> | 
    <span><a href="/manual-cate-2.html">古谱全局</a></span> | 
    <span><a href="/manual-cate-3.html">现代残局</a></span> | 
    <span><a href="/manual-cate-4.html">现代棋书</a></span> | 
    <span><a href="/manual-cate-5.html">赛事棋谱</a></span> | 
    <span><a href="/manual-cate-2-843.html">象甲联赛</a></span> | 
    <span><a href="/manual-cate-2-843.html">全国个人赛</a></span> | 
    <span><a href="/manual-search.html">棋谱搜索</a></span> | 
    <span><a href="/ai.html">挑战电脑</a></span>

    <span><a href="">视频教程</a></span> | 
    <span><a href="">象棋百科</a></span>-->
  </div>

</div>
